package com.junjie.food.settlementServiceManager.service;

import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.Random;

@Service
public class SettlementService {

    Random rand = new Random(25); // 随机播种

    public Integer settlement(Integer accountId, BigDecimal amount) {
        // 以后根据业务需要，去拓展实现实际的业务代码
        return rand.nextInt(1000000000);
    }
}
